//
//  HNSNGetMoneyModel.h
//  ZYManagementSystem
//
//  Created by 星道 on 17/6/15.
//  Copyright © 2017年 焕宁. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HNSNGetMoneyModel : NSObject

/**
 支付时间
 */
@property (nonatomic, copy) NSString *payTime;

/**
 家长
 */
@property (nonatomic, copy) NSString *B_petName;

/**
 家长帐户
 */
@property (nonatomic, copy) NSString *B_username;

/**
 描述
 */
@property (nonatomic, copy) NSString *T_Name;

/**
 课程价格
 */
@property (nonatomic, strong) NSNumber *settlementPrice;

/** nilo */
@property (nonatomic, strong) NSNumber *commissionMoney;
/**
 佣金金额
 */
@property (nonatomic, strong) NSNumber *actualPaid;

/**
 订单号
 */
@property (nonatomic, copy) NSString *tradeNo;

/**
 余额
 */
@property (nonatomic, strong) NSNumber *withdrawMoney;

/**
 ID
 */
@property (nonatomic, strong) NSNumber *ID;

/**
 区分是课程还是佣金1:课程 0佣金
 */
@property (nonatomic, strong) NSNumber *type;

/** 星币 */
@property (nonatomic, strong) NSNumber *coins;

/**
 结算标志
 */
@property (nonatomic, strong) NSNumber *withdrawFlag;
/**
 佣金的名称
 */
@property (nonatomic, copy) NSString *C_name;
/**
 num:在 当Flag为-1时，再根据num判断，2为未提现，1为暂不可提现
 */
@property (nonatomic, strong) NSNumber *num;


/**     资金提现        */

/**
 名称
 */
@property (nonatomic, copy) NSString *courseName;

/**
 付款人名称
 */
@property (nonatomic, copy) NSString *payName;
/**
 时间
 */
@property (nonatomic, copy) NSString *tradeTime;
/**
 手机号码
 */
@property (nonatomic, copy) NSString *accountNumber;
/**        结束         */
/** 是否有小红点 */
@property (nonatomic, strong) NSNumber *isViewed;

@property (nonatomic, strong) NSNumber *canWithdrawCoins;
@property (nonatomic, strong) NSNumber *haveWithdrawCoins;
@property (nonatomic, strong) NSNumber *totalCoins;


+ (HNSNGetMoneyModel *(^)(NSDictionary *))SetupModel;

//余额不在Dict里面，需要额外赋值 
- (HNSNGetMoneyModel *(^)(NSNumber *))SetupWithdrawMoney;



/** 当提现的枚举属于星币时就需要调用这个方法去获取余额 */
- (void)customParam:(NSDictionary *)dict;
@end
